import request from '@/utils/request.js'
import qs from 'qs'

function GetSearchData(data) {
	//https://ys.endata.cn/enlib-api/api/moviecommon/wholesearch.do
	return request.post("/enlib-api/api/moviecommon/wholesearch.do", qs.stringify(data), {
		headers: {
			"Content-Type": "application/x-www-form-urlencoded"
		}
	})
}
export {GetSearchData}